#include <iostream>
#include "Stack.h"

using namespace std;

void Swap(int& rx, int& ry)
{
	int ret = rx;
	rx = ry;
	ry = ret;
}

//int main()
//{
//	int x = 3;
//	int y = 5;
//	cout << x << " " << y << endl;
//	Swap(x, y);
//	cout << x << " " << y << endl;
//	return 0;
//}


int main()
{
	ST st1;
	STInit(st1);
	STPush(st1,2);
	STPush(st1,4);
	STPush(st1,6);
	STPush(st1,1);
	cout << STtop(st1) << endl;
	STtop(st1)++;
	cout << STtop(st1) << endl;
	STDstory(st1);
	return 0;
}



